﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LabTask2Sharp
{
    class Room
    {
        public string Id { get; set; }
        public int WorkPlaces { get; set; }
        public int VisitorPlaces { get; set; }
        public List<Room> Near { get; set; }
        public List<Person> Occupants { get; set; }

        public Room()
        {
            Id = "N/A";
            WorkPlaces = VisitorPlaces = -1;
            Near = new List<Room>();
            Occupants = new List<Person>();
        }

        public Room(string Id, int WorkPlaces, int VisitorPlaces)
        {
            this.Id = Id;
            this.WorkPlaces = WorkPlaces;
            this.VisitorPlaces = VisitorPlaces;
            this.Near = new List<Room>();
            Occupants = new List<Person>();
        }
    }
}
